package com.ayh.campusfun.service;

import com.ayh.campusfun.common.service.BaseService;
import com.ayh.campusfun.entity.GoodFriend;
import com.ayh.campusfun.vo.FriendVO;

import java.util.List;
import java.util.Map;

/**
 * 好友表(GoodFriend)表服务接口
 *
 * @author ayh
 * @since 2021-03-19 18:19:56
 */
public interface GoodFriendService extends BaseService<GoodFriend> {
    List<FriendVO> findFriendList(Map<String, Object> map);

    List<FriendVO> searchFriendList(Map<String, Object> map);

    FriendVO findFriendByUid(String uid, String friendId);

    Long findFriendByUidAndFriendId(String uid, String friendId);

    List<GoodFriend> findGoodFriendAuthMsgList(Map<String, Object> map);

    void updateByUidAndFriendId(String uid, String friendUid);

    void updateMsgStatusByUid(String uid);
}
